import { INCREMENT,DECREMENT,ADD_REMINDER,DEL_REMINDER,CLAEN_REMINDER } from '@/constants';
import * as API from '@/utils/API';
export const increment = () => {
  return {
    type: INCREMENT
  }
}
export const decrement = () => {
  return {
    type: DECREMENT
  }
}
export const add_reminder = (payload) => {
  return {
    type: ADD_REMINDER,
    content: payload.content,
    time: payload.time
  }
}
export const del_reminder = (id) => {
  return {
    type: DEL_REMINDER,
    id
  }
}
export const clean_reminder = () => {
  return {
    type: CLAEN_REMINDER
  }
}